/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.hiddendanger.domain;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "随手拍", description = "随手拍实体类")
public class FreeSnap extends BaseEntity {
    @ApiModelProperty(value = "随手拍编码", name = "code", required = true)
    private String code;

    @ApiModelProperty(value = "水司code", name = "corpCode", required = true)
    private String corpCode;

    @ApiModelProperty(value = "水司名称", name = "corpName")
    private String corpName;

    @ApiModelProperty(value = "网格结点code", name = "girdCode", required = true)
    private String gridCode;

    @ApiModelProperty(value = "网格节点名称", name = "girdName")
    private String gridName;

    @ApiModelProperty(value = "设备/作业编号", name = "deviceCode")
    private String deviceCode;

    @ApiModelProperty(value = "设备/作业名称", name = "deviceName")
    private String deviceName;

    @ApiModelProperty(value = "图片,最多三张，图片地址存储在同一地址中,存储地址格式为json格式，形如['图片1地址','图片2地址','图片3地址']", name = "attachment")
    private String attachment;

    @ApiModelProperty(value = "描述", name = "description", required = true)
    private String description;

    @ApiModelProperty(value = "隐患ID", name = "dangerId")
    private String hiddenDangerId;

    @ApiModelProperty(value = "隐患描述", name = "dangerDescription")
    private String dangerDescription;

    @ApiModelProperty(value = "危险源清单ID", name = "hazardLocalId")
    private String localHazardLocalId;

    @ApiModelProperty(value = "危险源名称", name = "hazardLocalName")
    private String hazardLocalName;

    @ApiModelProperty(value = "状态,0:草稿，1：提交，2：确定，3：关闭流程", name = "state", required = true)
    private Integer state;

    @ApiModelProperty(value = "提交时间", name = "submitTime")
    private Date submitTime;

    @ApiModelProperty(value = "提交时间,字符串，用于导出", name = "submitTimeStr")
    private String submitTimeStr;

    @ApiModelProperty(value = "提交人code,提交人与创建人相同，但是一个存名称一个存code,用与列表查询", name = "submitCode")
    private String submiterCode;

    @ApiModelProperty(value = "提交人所在单位名称,用与列表查询", name = "submitDepartmentName")
    private String submitDepartmentName;

    @ApiModelProperty(value = "确认人", name = "confirmerCode")
    private String confirmerCode;

    @ApiModelProperty(value = "确认时间", name = "confirmTime")
    private Date confirmTime;

    @ApiModelProperty(name = "source",value = "反馈意见",required = false)
    private String feedback;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getGridCode() {
        return gridCode;
    }

    public void setGridCode(String gridCode) {
        this.gridCode = gridCode;
    }

    public String getGridName() {
        return gridName;
    }

    public void setGridName(String gridName) {
        this.gridName = gridName;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getHiddenDangerId() {
        return hiddenDangerId;
    }

    public void setHiddenDangerId(String hiddenDangerId) {
        this.hiddenDangerId = hiddenDangerId;
    }

    public String getDangerDescription() {
        return dangerDescription;
    }

    public void setDangerDescription(String dangerDescription) {
        this.dangerDescription = dangerDescription;
    }

    public String getLocalHazardLocalId() {
        return localHazardLocalId;
    }

    public void setLocalHazardLocalId(String localHazardLocalId) {
        this.localHazardLocalId = localHazardLocalId;
    }

    public String getHazardLocalName() {
        return hazardLocalName;
    }

    public void setHazardLocalName(String hazardLocalName) {
        this.hazardLocalName = hazardLocalName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public String getSubmiterCode() {
        return submiterCode;
    }

    public void setSubmiterCode(String submiterCode) {
        this.submiterCode = submiterCode;
    }

    public String getSubmitDepartmentName() {
        return submitDepartmentName;
    }

    public void setSubmitDepartmentName(String submitDepartmentName) {
        this.submitDepartmentName = submitDepartmentName;
    }

    public String getConfirmerCode() {
        return confirmerCode;
    }

    public void setConfirmerCode(String confirmerCode) {
        this.confirmerCode = confirmerCode;
    }

    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public String getSubmitTimeStr() {
        return submitTimeStr;
    }

    public void setSubmitTimeStr(String submitTimeStr) {
        this.submitTimeStr = submitTimeStr;
    }

    @Override
    public String toString() {
        return "FreeSnap{" +
                "code='" + code + '\'' +
                ", corpCode='" + corpCode + '\'' +
                ", corpName='" + corpName + '\'' +
                ", gridCode='" + gridCode + '\'' +
                ", gridName='" + gridName + '\'' +
                ", deviceCode='" + deviceCode + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", attachment='" + attachment + '\'' +
                ", description='" + description + '\'' +
                ", hiddenDangerId='" + hiddenDangerId + '\'' +
                ", dangerDescription='" + dangerDescription + '\'' +
                ", localHazardLocalId='" + localHazardLocalId + '\'' +
                ", hazardLocalName='" + hazardLocalName + '\'' +
                ", state=" + state +
                ", submitTime=" + submitTime +
                ", submiterCode='" + submiterCode + '\'' +
                ", submitDepartmentName='" + submitDepartmentName + '\'' +
                ", confirmerCode='" + confirmerCode + '\'' +
                ", confirmTime=" + confirmTime +
                ", feedback='" + feedback + '\'' +
                '}';
    }
}
